<div class="container member-container">
  <?php include $this->getViewFile('../lib/leftmenu'); ?>
  <div class="col-md-10 member-con mb-alwang-con">
    <div class="title mb-common-title">我的支付宝帐号</div>
    <?php if(!empty($data['alipay']) || !empty($data['alipay_name'])){ ?>
      <div class="desc">您的账号已经绑定支付宝：<span>账号：<?php echo $data['alipay'];?> 姓名：<?php echo $data['alipay_name'];?></span>，不能再绑定其它支付宝。</div>
    <?php }else{ ?>
      <div class="desc">支付宝绑定后不能修改</div>
      
      <form id="address-form" action="<?php echo YzwController::U('user/info/alipay') ?>" method="post">
        <table>
          <tbody>
            <tr>
              <td width="120" class="head">支付宝帐号:</td>
              <td width="120"><input name="alipay" id="alipay" type="text" maxlength="60" value="<?php echo $data['alipay']?>"><div style="margin: 7px -18px;" class="tips_hold"id="tip_4" data-content="必须认真真实的填写您的支付宝账号,以便给您退款或其他经济来往"></div></td>
              <td></td>
            </tr>
            <tr>
              <td class="head">姓名:</td>
              <td ><input name="alipay_name" id="alipay_name" type="text" maxlength="60" value="<?php echo $data['alipay_name']?>"><div style="margin: 7px -18px;" class="tips_hold"id="tip_5" data-content="请填写您真实姓名,方便确认"></div></td>
              <td></td>
            </tr>
            <tr>
                  <td width="120"  class="head"></td>
                  <td width="120"><input class="login-spt btn" type="submit" name="yt0" value="提交" /></td>
                  <td></td>
              </tr>
          </tbody>
        </table>
      </form>

    <?php } ?>

  </div>
  <div class="clearfix"></div>
</div>
